package com.zsc.wxm.ysh.anjo.service.base.model.member.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 描述：
 *
 * @author playmaker
 * @since 2021/2/9 9:49
 */
@Data
public class AdminRegisterDTO implements Serializable {
    private static final long serialVersionUID = -2056778616374491935L;

    @ApiModelProperty("电话号码")
    @NotNull(message = "电话号码不能是空的")
    private String phone;

    @ApiModelProperty("邮箱")
    @NotNull(message = "邮箱不能为空")
    private String email;

    @ApiModelProperty("密码")
    @NotNull(message = "密码不能为空")
    private String password;
}
